package pl.ptemich.pong.model;

public class FloatPoint {

  private float posX;

  private float posY;

  public FloatPoint(float x, float y) {
    this.posX = x;
    this.posY = y;
  }

  public int getIntPosX() {
    return Long.valueOf(Math.round(posX)).intValue();
  }

  public int getIntPosY() {
    return Long.valueOf(Math.round(posY)).intValue();
  }

  public float getPosX() {
    return posX;
  }

  public float getPosY() {
    return posY;
  }

}
